import request from '@/utils/request'

// 添加房间
export function createRoom(roomInfo) {
  
  return request({
    'url': '/room',
    headers: {
      isToken: false
    },
    'method': 'post',
    'data': roomInfo
  })
}

// 房间列表
export function listRoom() {
  return request({
    url: '/room/list',
    headers: {
      isToken: false
    },
    method: 'get',
  })
}


